PhpOffice\PhpSpreadsheet\Style\NumberFormat A

Total Complexity 75
Dependencies 4
Dependents 13
Total lines 737
Lines of code 336
Logical lines of code 230
Comment lines 238
Methods 19
Properties 7

Methods 19

Method Rating Maintainability Complexity Lines of code
toFormattedString()
C
31 27 110
complexNumberFormatMask()
A
47 7 33
formatAsFraction()
S
54 6 19
formatAsDate()
S
54 4 19
fillBuiltInFormatCodes()
S
43 2 48
formatAsPercentage()
S
57 4 15
setFormatCode()
S
60 3 13
applyFromArray()
S
64 3 10
getFormatCode()
S
66 3 9
getHashCode()
S
66 2 10
__construct()
S
69 2 7
builtInFormatCodeIndex()
S
69 2 7
setBuiltInFormatCode()
S
64 2 10
getBuiltInFormatCode()
S
72 2 6
builtInFormatCode()
S
67 2 8
setLowercaseCallback()
S
79 1 3
escapeQuotesCallback()
S
77 1 3
getSharedComponent()
S
81 1 3
getStyleArray()
S
80 1 3